package cn.com.chec.en.model.domain;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class NewsChannelRel {
	private static final long serialVersionUID = 3246855539172496062L;
	private int id;
	private int newsId;
	private int channelId;
	private ChannelInfo channelnfo;
	private int isShowInIndex = -1;

	private int isShowInList = -1;

	private int isTop = -1;
	private String topTime;
	private int isReview = -1;

	private int isDelete = 0;

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getNewsId() {
		return this.newsId;
	}

	public void setNewsId(int newsId) {
		this.newsId = newsId;
	}

	public int getChannelId() {
		return this.channelId;
	}

	public void setChannelId(int channelId) {
		this.channelId = channelId;
	}

	public ChannelInfo getChannelnfo() {
		return this.channelnfo;
	}

	public void setChannelnfo(ChannelInfo channelnfo) {
		this.channelnfo = channelnfo;
	}

	public int getIsShowInIndex() {
		return this.isShowInIndex;
	}

	public void setIsShowInIndex(int isShowInIndex) {
		this.isShowInIndex = isShowInIndex;
	}

	public int getIsShowInList() {
		return this.isShowInList;
	}

	public void setIsShowInList(int isShowInList) {
		this.isShowInList = isShowInList;
	}

	public int getIsTop() {
		return this.isTop;
	}

	public void setIsTop(int isTop) {
		this.isTop = isTop;
	}

	public String getTopTime() {
		return this.topTime;
	}

	public void setTopTime(String topTime) {
		this.topTime = topTime;
	}

	public int getIsReview() {
		return this.isReview;
	}

	public void setIsReview(int isReview) {
		this.isReview = isReview;
	}

	public int getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}